﻿#pragma once

#include "Game.h"
#include "GameBoard.h"

typedef struct MainWindow MainWindow;

typedef void (*MainWindowDoModal)(MainWindow*);

// 主窗口
struct MainWindow {
    HWND mHandle;           // 窗口句柄
    GameBoard* mGameBoard;  // 游戏区域
    Game* mGame;            // 游戏

    MainWindowDoModal doModal;
};

MainWindow* New_MainWindow();
